package com.web.model;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * Created by reeveslee on 16/8/4.
 */
public class Message extends Model<Message> {
    public static Message messageDao = new Message();

    public List<Message> getMessages() {
        return messageDao.find("select id,title,secondary,time,html from v1_grass_message");
    }
}
